package com.liuqi.iot.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.liuqi.common.base.domain.entity.BaseEntity;
import lombok.Data;

/**
 * 报警定义
 *
 * @author  LiuQi 2025/3/24-16:40
 * @version V1.0
 **/
@Data
@TableName("t_alarm_define_published")
public class AlarmDefinePublishedEntity extends BaseEntity {
    /**
     * 报警关联模型
     */
    private String modelId;

    /**
     * 分类id
     */
    private String categoryId;

    /**
     * 报警标题
     */
    private String title;

    /**
     * 报警内容
     */
    private String content;

    /**
     * 报警规则配置
     */
    private String rule;

    /**
     * 报警等级
     */
    private Integer level;

    /**
     * 是否自动关闭
     */
    private Boolean autoClose;
}
